package com.sky.mapper;

import com.sky.entity.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

/**
 * @ClassName:UserMapper
 * @Author:泛微-boliu14
 * @Date:2023/11/11 21:26
 * @Description:UserDao层
 */
@Mapper
public interface UserMapper {

    @Select("select * from user where openid=#{openid}")
    User getByOpenid(String openid);




    void insert(User user);
}
